BEGIN{
	sw = 0
}

$1 ~/obj_define/{
	if(sw == 0){
		sw = 1
	}else{
		print "ERROR! ",FILENAME
		exit
	}
}

$1 ~/^db$/ && (sw ==1){
	num = $2
	sub(/[hH]$/,"",num)
	printf("%03d <<%12s>>\n",num,FILENAME)
	sw = 0
}
